home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Dots & Pixels / headers / application.h next >
C/C++ Source or Header  |  1995-09-29  |  757b  |  37 lines

  1. #pragma once
  2.  
  3. #ifndef _APPL_
  4.     #define _APPL_
  5. #endif
  6.  
  7. // #define do_QT
  8. //
  9. // 941104: discovered that calling 'ExitMovies' is no longer neccessary or recommended
  10. // Also decided to always compile 'InitQuickTime', and to make it public. Thus,
  11. // if 'do_QT' is not defined, an application can call 'application::InitQuickTime'
  12. // and still use QuickTime (Alternatively, it could just call EnterMovies)
  13. //
  14. class application : public general
  15. {
  16.     public:
  17.         application( char *resfilename = (char *)0L);
  18.         ~application();
  19.         
  20.         #ifdef do_QT
  21.             void InitQuickTime() const;
  22.         #endif
  23.     private:
  24.  
  25.         #ifndef _APPL_
  26.             #ifndef THINK_CPLUS
  27.                 static void TryToRecover();
  28.             #endif
  29.         #endif
  30. };
  31.  
  32. #ifndef _APPL_
  33.     #ifdef THINK_CPLUS
  34.         static void TryToRecover();
  35.     #endif
  36. #endif
  37.